.parent{
  background-color: red;
  width: 300px;
}
.child{
  background-color: yellow;
  width: 200px;
  padding-left: 10px;
}
.grand{
  background-color: skyblue;
  width: 100px;
  padding-left: 10px;
}